const router = [
    {
        title: '首页',
        icon: 'home',
        key: '/index'
    },
    {
        title:'用户管理',
        icon: 'user',
        key: '/index/user',
    },
    {
        title:'船员管理',
        icon: 'team',
        key: '/index/sailor',
        children: [
            {key: '/index/sailor/list',title:'船员列表',icon:'appstore',},
            {key: '/index/sailor/add',title:'新添船员',icon:'user-add'},
        ]
    },
    {
        title:'执法记录',
        icon: 'play-square',
        key: '/index/record',
    },
    {
        title:'实时检测',
        icon: 'video-camera',
        key: '/index/detect',
    },
    {
        title:'其他',
        icon: 'share-alt',
        key: '/index/other',
        child: [
            {key: '/index/other/list',title:'选项一',icon:'',},
            {key: '/index/other/add',title:'添加用户',icon:''},
        ]
    }
]
export default router;